package model;

import java.io.File;
import java.util.List;

/**
 * This is the interface that the Controller uses to communicate with the model.
 *
 */
public interface DataSource {

    /**
     * @param dataFile - The file you want to load
     */
    void loadDataFromFile(File dataFile);

    /**
     * @return a list of the column names
     */
    List<String> getColumnNames();

    /**
     * Returns all the data in the specified column.
     * @param columnName - The name of the column
     * @return
     */
    List<String> getColumn(String columnName);
}
